NDepend.API Documentation
StartsWithAny(String,String[]) Method
NDepend.Helpers Namespace > ExtensionMethodsString Class > StartsWithAny Method : StartsWithAny(String,String[]) Method
This string.
An array containing possible start strings for thisString.
Gets a value indicating whether this string starts with case sensitive any of the strings in array.
Syntax
[Extension()]
public static bool StartsWithAny( 
   string thisString,
   params string[] array
)

Parameters

thisString
This string.
array
An array containing possible start strings for thisString.
Exceptions
ExceptionDescription
null string reference in array not accepted.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsString Class
ExtensionMethodsString Members
Overload List